css: Add support for conic-gradient()
authorBenjamin Otte <otte@redhat.com>
Thu, 3 Dec 2020 00:24:45 +0000 (01:24 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 3 Dec 2020 03:13:33 +0000 (04:13 +0100)
commite622013f7e4bf35e41b405b52f8b5bf41f3b5023
treefb3406610239d978e77c7209d26395df68eb880e
parent8706d69e60bd0dd63aa720cee2522626eb3e3806
css: Add support for conic-gradient()

This comes complete with animation support. For a good time, try:

@keyframes conic {
  100% { background-image: conic-gradient(from 1turn, red, lime, blue, yellow, red); }
}

window {
  background-image: conic-gradient(red, lime, blue, yellow, red);
  animation: conic infinite linear 5s;
}
gtk/gtkcssimage.c
gtk/gtkcssimageconic.c [new file with mode: 0644]
gtk/gtkcssimageconicprivate.h [new file with mode: 0644]
gtk/meson.build